Release 10.1A: OpenEdge Development:
ADM Reference


callttparam.i

Although most AppServer calls require that no more than two or three temp-tables be passed between the AppServer and the client, some calls might require a larger number of temp-tables. For example, the Dynamics Repository Manger FetchObject call or a call to a SmartBusinessObject can require 20 or more temp-tables. In this instance, the callttparam.i include file provides an easy way to include the temp-table handles required by callstringtt.p. For more information, see the "callstringtt.p" section and the "calltables.i" section.

Before using the callttparam.i file, you must define an array of handles. The following describes the parameters supplied in the calttparam.i file:

ARRAYFIELD

Required parameter that names an extent 64 variable of data type handle.

MODE

Optional parameter. One of INPUT, OUTPUT, or INPUT-OUTPUT. The default is INPUT-OUTPUT. The MODE applies to all 64 parameters. You cannot override the mode for individual parameters.

T01 to T64

Optional parameter. An include file parameter that evaluates to a valid 4GL expression that follows the MODE. If not specified, the default is

“TABLE-HANDLE {&ARRAYFIELD}[subscript]”. This form lets you specify each table differently. For example, &T01 = “TABLEttCustomer”, &T02 - “TABLE-HANDLEhTTOrder”.

In Example A–6, the temp-tables ttCust, ttOrder, and a dynamic temp-table with the handle httTest are being passed and the remaining 61 are empty. The three temp-tables being passed are passed differently. Note the following in the example code:


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095